FROM openeuler/openeuler:24.03
LABEL org.opencontainers.image.authors="HanKeQi"
COPY docker/etc/openEuler.repo /etc/yum.repos.d/openEuler.repo
ENV TZ=PRC
RUN yum install -y java-17-openjdk tar unzip findutils samtools nginx
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY docker/etc/nginx/nginx.conf /etc/nginx/nginx.conf
COPY docker/etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
COPY ruoyi-admin-wms/target/ruoyi-admin-wms.jar /app.jar
ADD  ruo-yi-wms-vue/dist /dist/
COPY docker/wms /usr/local/bin/wms

EXPOSE 80
RUN chmod +x /usr/local/bin/wms
CMD ["wms"]


# docker build -t moses/wms:001 .
